//
//  LPNoHeadLineAndNoCommentViewController.m
//  LovingPartyBuilding
//
//  Created by 刘应平 on 2017/6/1.
//  Copyright © 2017年 刘应平. All rights reserved.
//

#import "LPNoHeadLineAndNoCommentViewController.h"
#import <WebKit/WebKit.h>
@interface LPNoHeadLineAndNoCommentViewController ()
/**  wkwebView  */
@property (strong, nonatomic) WKWebView  *webView;

@end

@implementation LPNoHeadLineAndNoCommentViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:self.urlString]]];
    [self.view addSubview:self.webView];
}

- (WKWebView *)webView{
    if (!_webView) {
        _webView = [[WKWebView alloc] initWithFrame:CGRectMake(0, 0, self.view.width, self.view.height)];
    }
    return _webView;
}

@end
